{//前台录入咨询师签约合同界面模板}
<include file="Public:header" />
<load file="__ROOT__/js/datepick/jquery.datepick.css" />
<load file="__ROOT__/js/datepick/jquery.datepick.js" />
<load file="__ROOT__/js/datepick/jquery.datepick-zh-CN.js" />
<load file="__ROOT__/js/ppts/qt_input_hetong.js" />
<div style="margin-left: 10px;">
<b>录入合同信息：</b><br /><br />
<table width="700" cellpadding="0" cellspacing="0" style="border-collapse:collapse">
    <tr>
        <td width="100%" style="border-bottom: #f57900 solid 1px;">
            建档人：{$user_zsname}&nbsp;&nbsp;&nbsp;&nbsp;
            建档时间：{$stu_inputtime}&nbsp;&nbsp;&nbsp;&nbsp;
            提档时间：{$td_time}
        </td>
    </tr>
</table>
<form  method="post" action="{:U('ppts/save_qt_input_hetong')}" name="save">
<table width="700" cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-bottom: #f57900 solid 1px;">
    <tr>
        <td width="100%" style="font-weight: bold;">学生信息：<input type="hidden" value="{$fgs_id}" name="bm_id" />
            <input type="hidden" value="{$xq_id}" name="xq_id" />
        </td>
    </tr>
    <tr>
        <td width="100%">
            <span class="title_text">学员ID：</span>{$stu_id}&nbsp;<input type="hidden" name="stu_id" value="{$stu_id}" />
            <span class="title_text">学员姓名：</span>{$stu_name}&nbsp;
            <span class="title_text">性别：</span>{$stu_sex}&nbsp;
            <span class="title_text">学校：</span>{$stu_school}&nbsp;
            <span class="title_text">年级：</span>{$stu_year}
        </td>
    </tr>
    <tr>
        <td width="100%">
            <span class="title_text">家长姓名：</span>{$stu_jzname}&nbsp;
            <span class="title_text">家长手机：</span>{$stu_jzsj}&nbsp;
            <span class="title_text">家庭电话：</span>{$stu_tel}&nbsp;
            <span class="title_text">与学员关系：</span>{$stu_gx}
        </td>
    </tr>
    <tr>
        <td width="100%">
            <span class="title_text">家庭住址：</span>
        </td>
    </tr>
</table>

<table width="700" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin-top: 5px;">
    <tr>
        <td width="100%" style="font-weight: bold;">合同及课程信息：</td>
    </tr>
    <tr>
        <td width="100%">
            <span class="title_text">合同编号：</span><input type="text" size="15" maxlength="20" name="ht_no" />&nbsp;
            <span class="title_text">建档类型：</span><select name="create_dangan_kind">
                        <option value="1">1对1</option>
                        <option value="2">1对多</option>
                    </select>&nbsp;
            <span class="title_text">综合建档费：</span><input type="text" name="zonghe_fei" size="10" value="300" readonly />元&nbsp;
        </td>
    </tr>
    <tr>
        <td width="100%">
            <span class="title_text">协议期限：</span>自<input type="text" id="begin_day" name="begin_day" size="10" style="cursor: pointer;" readonly />至<input type="text" id="stop_day" name="stop_day" style="cursor: pointer;" size="10" readonly />止&nbsp;
        </td>
    </tr>
    <tr>
        <td width="100%">

<div id="pop" style="color:red;height: 20px;"></div>
            <table width="800" cellpadding="0" border="1" cellspacing="0" style="border-collapse:collapse;margin-top: 3px;border-color: #000000;">
                <tr>
                    <td align="center" width="15%">年级</td>
                    <!--<td align="center" width="10%">科目</td>-->
                    <td align="center" width="15%">授课类型</td>
                    <td align="center" width="15%">本次购买课时量</td>
                    <td align="center">原单价（小时/元）</td>
                    <td align="center">实际购买价格（折扣价）</td>
                    <td align="center">实际购买总金额</td>
                    <td align="center" width="15%">操作</td>
                </tr>
                {/*第一行开始*/}
                <tr>
                    <td align="center">
                        <select name="class_year_1">
                            <foreach name="kpname_list" item="kp">
                                <option value="{$kp.kp_name}">{$kp.kp_name}</option>
                            </foreach>
                        </select>
                    </td>
                    <!--<td align="center">
                        <select name="class_kemu_1">
                            <option value="语文">语文</option>
                            <option value="数学">数学</option>
                            <option value="">英语</option>
                            <option value="">化学</option>
                            <option value="">物理</option>
                            <option value="">生物</option>
                            <option value="">历史</option>
                            <option value="">地理</option>
                            <option value="">政治</option>
                            <option value="">雅思</option>
                            <option value="">奥数</option>
                            <option value="">华数</option>
                        </select>
                    </td>-->
                    <td align="center">
                        <select name="class_kind_1">
                            <option value="11">普通一对一</option>
                            
                            <option value="31">3A一对一</option>

                            <option value="12">普通一对多</option>

                            <option value="32">3A一对多</option>
                        </select>
                    </td>
                    <td align="center"><input type="text" size="5" value="0" name="gm_keshi_1" /></td>
                    <td align="center"><input type="text" size="5" name="old_price_1" readonly /></td>
                    <td align="center"><input type="text" size="5" name="sj_price_1" /></td>
                    <td align="center"><input type="text" size="5" name="gm_sum_1" value="0" /></td>
                    <td align="center">
                        <input type="button" class="get_price" id="1" value="获取价格" alt="获取课程各项价格" />
                        <input type="button" class="clear" id="1" value="重填" alt="重新填写该条数据" />
                    </td>
                </tr>
                {/*第一行结束*/}


                <tr>
                    <td align="center">
                        <select name="class_year_2">
                            <foreach name="kpname_list" item="kp">
                                <option value="{$kp.kp_name}">{$kp.kp_name}</option>
                            </foreach>
                        </select>
                    </td>
                    <!--
                    <td align="center">
                        <select name="class_kemu_2">
                            <option value="">语文</option>
                            <option value="">数学</option>
                            <option value="">英语</option>
                            <option value="">化学</option>
                            <option value="">物理</option>
                            <option value="">生物</option>
                            <option value="">历史</option>
                            <option value="">地理</option>
                            <option value="">政治</option>
                            <option value="">雅思</option>
                            <option value="">奥数</option>
                            <option value="">华数</option>
                        </select>
                    </td>-->
                    <td align="center">
                        <select name="class_kind_2">
                            <option value="11">普通一对一</option>
                            
                            <option value="31">3A一对一</option>
                            <option value="12">普通一对多</option>

                            <option value="32">3A一对多</option>
                        </select>
                    </td>
                    <td align="center"><input type="text" size="5" value="0" name="gm_keshi_2" /></td>
                    <td align="center"><input type="text" size="5" name="old_price_2" readonly /></td>
                    <td align="center"><input type="text" size="5" name="sj_price_2" /></td>
                    <td align="center"><input type="text" size="5" name="gm_sum_2" value="0" /></td>
                    <td align="center">
                        <input type="button" class="get_price" id="2" value="获取价格" alt="获取课程各项价格" />
                        <input type="button" class="clear" id="2" value="重填" alt="重新填写该条数据" />
                    </td>
                </tr>

                {/*第三行*/}
                <tr>
                    <td align="center">
                        <select name="class_year_3">
                            <foreach name="kpname_list" item="kp">
                                <option value="{$kp.kp_name}">{$kp.kp_name}</option>
                            </foreach>
                        </select>
                    </td>
                    <!--
                    <td align="center">
                        <select name="class_kemu_2">
                            <option value="">语文</option>
                            <option value="">数学</option>
                            <option value="">英语</option>
                            <option value="">化学</option>
                            <option value="">物理</option>
                            <option value="">生物</option>
                            <option value="">历史</option>
                            <option value="">地理</option>
                            <option value="">政治</option>
                            <option value="">雅思</option>
                            <option value="">奥数</option>
                            <option value="">华数</option>
                        </select>
                    </td>-->
                    <td align="center">
                        <select name="class_kind_3">
                            <option value="11">普通一对一</option>

                            <option value="31">3A一对一</option>
                            <option value="12">普通一对多</option>

                            <option value="32">3A一对多</option>
                        </select>
                    </td>
                    <td align="center"><input type="text" size="5" value="0" name="gm_keshi_3" /></td>
                    <td align="center"><input type="text" size="5" name="old_price_3" readonly /></td>
                    <td align="center"><input type="text" size="5" name="sj_price_3" /></td>
                    <td align="center"><input type="text" size="5" name="gm_sum_3" value="0" /></td>
                    <td align="center">
                        <input type="button" class="get_price" id="3" value="获取价格" alt="获取课程各项价格" />
                        <input type="button" class="clear" id="3" value="重填" alt="重新填写该条数据" />
                    </td>
                </tr>


                {/*第4行*/}
                <tr>
                    <td align="center">
                        <select name="class_year_4">
                            <foreach name="kpname_list" item="kp">
                                <option value="{$kp.kp_name}">{$kp.kp_name}</option>
                            </foreach>
                        </select>
                    </td>
                    <!--
                    <td align="center">
                        <select name="class_kemu_2">
                            <option value="">语文</option>
                            <option value="">数学</option>
                            <option value="">英语</option>
                            <option value="">化学</option>
                            <option value="">物理</option>
                            <option value="">生物</option>
                            <option value="">历史</option>
                            <option value="">地理</option>
                            <option value="">政治</option>
                            <option value="">雅思</option>
                            <option value="">奥数</option>
                            <option value="">华数</option>
                        </select>
                    </td>-->
                    <td align="center">
                        <select name="class_kind_4">
                            <option value="11">普通一对一</option>

                            <option value="31">3A一对一</option>
                            <option value="12">普通一对多</option>

                            <option value="32">3A一对多</option>
                        </select>
                    </td>
                    <td align="center"><input type="text" size="5" value="0" name="gm_keshi_4" /></td>
                    <td align="center"><input type="text" size="5" name="old_price_4" readonly /></td>
                    <td align="center"><input type="text" size="5" name="sj_price_4" /></td>
                    <td align="center"><input type="text" size="5" name="gm_sum_4" value="0" /></td>
                    <td align="center">
                        <input type="button" class="get_price" id="4" value="获取价格" alt="获取课程各项价格" />
                        <input type="button" class="clear" id="4" value="重填" alt="重新填写该条数据" />
                    </td>
                </tr>


                {/*第5行*/}
                <tr>
                    <td align="center">
                        <select name="class_year_5">
                            <foreach name="kpname_list" item="kp">
                                <option value="{$kp.kp_name}">{$kp.kp_name}</option>
                            </foreach>
                        </select>
                    </td>
                    <!--
                    <td align="center">
                        <select name="class_kemu_2">
                            <option value="">语文</option>
                            <option value="">数学</option>
                            <option value="">英语</option>
                            <option value="">化学</option>
                            <option value="">物理</option>
                            <option value="">生物</option>
                            <option value="">历史</option>
                            <option value="">地理</option>
                            <option value="">政治</option>
                            <option value="">雅思</option>
                            <option value="">奥数</option>
                            <option value="">华数</option>
                        </select>
                    </td>-->
                    <td align="center">
                        <select name="class_kind_5">
                            <option value="11">普通一对一</option>

                            <option value="31">3A一对一</option>
                            <option value="12">普通一对多</option>

                            <option value="32">3A一对多</option>
                        </select>
                    </td>
                    <td align="center"><input type="text" size="5" value="0" name="gm_keshi_5" /></td>
                    <td align="center"><input type="text" size="5" name="old_price_5" readonly /></td>
                    <td align="center"><input type="text" size="5" name="sj_price_5" /></td>
                    <td align="center"><input type="text" size="5" name="gm_sum_5" value="0" /></td>
                    <td align="center">
                        <input type="button" class="get_price" id="5" value="获取价格" alt="获取课程各项价格" />
                        <input type="button" class="clear" id="5" value="重填" alt="重新填写该条数据" />
                    </td>
                </tr>


                {/*第6行*/}
                <tr>
                    <td align="center">
                        <select name="class_year_6">
                            <foreach name="kpname_list" item="kp">
                                <option value="{$kp.kp_name}">{$kp.kp_name}</option>
                            </foreach>
                        </select>
                    </td>
                    <!--
                    <td align="center">
                        <select name="class_kemu_2">
                            <option value="">语文</option>
                            <option value="">数学</option>
                            <option value="">英语</option>
                            <option value="">化学</option>
                            <option value="">物理</option>
                            <option value="">生物</option>
                            <option value="">历史</option>
                            <option value="">地理</option>
                            <option value="">政治</option>
                            <option value="">雅思</option>
                            <option value="">奥数</option>
                            <option value="">华数</option>
                        </select>
                    </td>-->
                    <td align="center">
                        <select name="class_kind_6">
                            <option value="11">普通一对一</option>

                            <option value="31">3A一对一</option>
                            <option value="12">普通一对多</option>

                            <option value="32">3A一对多</option>
                        </select>
                    </td>
                    <td align="center"><input type="text" size="5" value="0" name="gm_keshi_6" /></td>
                    <td align="center"><input type="text" size="5" name="old_price_6" readonly /></td>
                    <td align="center"><input type="text" size="5" name="sj_price_6" /></td>
                    <td align="center"><input type="text" size="5" name="gm_sum_6" value="0" /></td>
                    <td align="center">
                        <input type="button" class="get_price" id="6" value="获取价格" alt="获取课程各项价格" />
                        <input type="button" class="clear" id="6" value="重填" alt="重新填写该条数据" />
                    </td>
                </tr>


                {/*第7行*/}
                <tr>
                    <td align="center">
                        <select name="class_year_7">
                            <foreach name="kpname_list" item="kp">
                                <option value="{$kp.kp_name}">{$kp.kp_name}</option>
                            </foreach>
                        </select>
                    </td>
                    <!--
                    <td align="center">
                        <select name="class_kemu_2">
                            <option value="">语文</option>
                            <option value="">数学</option>
                            <option value="">英语</option>
                            <option value="">化学</option>
                            <option value="">物理</option>
                            <option value="">生物</option>
                            <option value="">历史</option>
                            <option value="">地理</option>
                            <option value="">政治</option>
                            <option value="">雅思</option>
                            <option value="">奥数</option>
                            <option value="">华数</option>
                        </select>
                    </td>-->
                    <td align="center">
                        <select name="class_kind_7">
                            <option value="11">普通一对一</option>

                            <option value="31">3A一对一</option>
                            <option value="12">普通一对多</option>

                            <option value="32">3A一对多</option>
                        </select>
                    </td>
                    <td align="center"><input type="text" size="5" value="0" name="gm_keshi_7" /></td>
                    <td align="center"><input type="text" size="5" name="old_price_7" readonly /></td>
                    <td align="center"><input type="text" size="5" name="sj_price_7" /></td>
                    <td align="center"><input type="text" size="5" name="gm_sum_7" value="0" /></td>
                    <td align="center">
                        <input type="button" class="get_price" id="7" value="获取价格" alt="获取课程各项价格" />
                        <input type="button" class="clear" id="7" value="重填" alt="重新填写该条数据" />
                    </td>
                </tr>


                {/*第8行*/}
                <tr>
                    <td align="center">
                        <select name="class_year_8">
                            <foreach name="kpname_list" item="kp">
                                <option value="{$kp.kp_name}">{$kp.kp_name}</option>
                            </foreach>
                        </select>
                    </td>
                    <!--
                    <td align="center">
                        <select name="class_kemu_2">
                            <option value="">语文</option>
                            <option value="">数学</option>
                            <option value="">英语</option>
                            <option value="">化学</option>
                            <option value="">物理</option>
                            <option value="">生物</option>
                            <option value="">历史</option>
                            <option value="">地理</option>
                            <option value="">政治</option>
                            <option value="">雅思</option>
                            <option value="">奥数</option>
                            <option value="">华数</option>
                        </select>
                    </td>-->
                    <td align="center">
                        <select name="class_kind_8">
                            <option value="11">普通一对一</option>

                            <option value="31">3A一对一</option>

                            <option value="12">普通一对多</option>

                            <option value="32">3A一对多</option>
                        </select>
                    </td>
                    <td align="center"><input type="text" size="5" value="0" name="gm_keshi_8" /></td>
                    <td align="center"><input type="text" size="5" name="old_price_8" readonly /></td>
                    <td align="center"><input type="text" size="5" name="sj_price_8" /></td>
                    <td align="center"><input type="text" size="5" name="gm_sum_8" value="0" /></td>
                    <td align="center">
                        <input type="button" class="get_price" id="8" value="获取价格" alt="获取课程各项价格" />
                        <input type="button" class="clear" id="8" value="重填" alt="重新填写该条数据" />
                    </td>
                </tr>
            </table>
            <br />
            <b>各科目总体课程分布：</b><br />
            
            <textarea cols="60" rows="4" name="kecheng_fb"></textarea><br />
            说明：请统一按照格式填写各科各年级分配情况。例如小学一年级-语文共计10小时
            <hr style="width: 600px;margin-top: 10px;margin-bottom: 10px;">
        </td>
    </tr>
    <tr>
        <td width="100%" height="30">
            <span class="title_text">学费：</span><input type="text" size="10" name="sum_xuefei" />元&nbsp;&nbsp;&nbsp;&nbsp;
            <span class="title_text">合同共计金额：</span><input type="text" size="10" name="sum_hetong" value="300" readonly /><input type="button" name="jisuan" value="计算总价" />
        </td>
    </tr>

    <tr>
        <td width="100%">
            <span class="title_text">各科每周课时安排情况：(请尽量详细记录，以便于教务进行排课)</span><br />
            <textarea cols="60" rows="4" name="beizhu"></textarea>
        </td>
    </tr>
    <tr>
        <td width="100%" height="30">
            是否为新签转校：
            <select name="zhuanxiao">
                <option value="0" selected="selected">不转校</option>
                <option value="1">转校</option>
            </select>
            &nbsp;&nbsp;
            <span id="zx_xq">
            转校目标：
            <select name="zx_xq_id">
                 <foreach name="xq_list" item="vo">
            <option value="{$vo.bm_id}">{$vo.bm_name}</option>
                </foreach>
            </select>
            </span>
        </td>
    </tr>
    
</table>





<br />
<input type="button" value="保存合同信息" style="margin-left: 20px;" name="b" /><input style="margin-left: 20px;" type="button" value="返  回" name="fh" />
</form>
</div>
<include file="Public:ender" />
